$(document).ready(function() {
	createBoard();
});

// Function to create both gaming boards
function createBoard() {
	for ( var i = 0; i <= 99; i++) {
		$('.playerOne')
				.append('<div id="' + i + '" class="boardSquare"></div>');
	}
	for ( var i = 100; i <= 199; i++) {
		$('.playerTwo')
				.append('<div id="' + i + '" class="boardSquare"></div>');
	}
};

$(slide);
function slide() {
	$(".flip").click(function() {
		$(".panel").slideToggle("slow");
	});
	$(".flip1").click(function() {
		$(".lobby").slideToggle("slow");
	});
};